<template>
  <div>
    分页
    <el-pagination
      background
      layout="prev, pager, next, sizes,jumper, total"
      @current-change="hCurrentChage"
      :total="21">
    </el-pagination>
  </div>
</template>
<script>
export default {
  methods: {
    hCurrentChage (curPage) {
      console.log('当前点击是第', curPage)
      // alert(curPage)
    }
  }
}
</script>
